# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=8

inherit desktop

DESCRIPTION="Digital Combat Simulator World"
HOMEPAGE="https://www.digitalcombatsimulator.com"
SRC_URI=""
LICENSE="unknown"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
RESTRICT="mirror"

DEPEND=""
RDEPEND="games-simulation/digital-combat-simulator-world-data
         dev-python/librungame
         virtual/wine[abi_x86_32]
         app-emulation/dxvk[abi_x86_32]"

S="${WORKDIR}"

src_install() {
	dobin "${FILESDIR}/${PN}"
	doicon "${FILESDIR}/${PN}.png"
	domenu "${FILESDIR}/${PN}.desktop"
}

pkg_extra_files() {
	echo ".config/digital-combat-simulator-world/***"
	echo ".cache/digital-combat-simulator-world/***"
}
